<template>
  <el-config-provider :locale="language">
    <router-view />
  </el-config-provider>
</template>

<script setup>
import { messages, lang } from '~locales'

const language = computed(() => {
  return messages[lang]
})
</script>

<style lang="scss" scoped>
</style>
